package cn.hfatec.shms.web.xm.xmCgmx.dao;

import java.util.List;

import cn.hfatec.shms.web.xm.xmCgmx.model.XmCgmx;
import cn.hfatec.mybatis.mapper.SqlMapper;
import org.springframework.stereotype.Component;
import org.apache.ibatis.annotations.Param;

import cn.hfatec.shms.web.xm.xmCgmx.model.XmCgmxParams;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
@Component("XmCgmxDao")
public interface XmCgmxDao extends SqlMapper {

    /**
     *
     * 查询数据
     *
    */
    public List queryXmCgmx(@Param("params") XmCgmxParams params);
    public XmCgmx queryXmCgmxHj(@Param("params") XmCgmxParams params);
    public List queryXmCgmxCf(@Param("params") XmCgmxParams params);
    /**
     *
     * 根据主键获取数据
     *
     */
    public XmCgmx getXmCgmxById(Integer id);

    /**
     *
     * 插入数据
     *
     */
    public void insert(XmCgmx xmCgmx);

    /**
     *
     * 删除数据
     *
     */
    public void delete(Integer id);
    public void deleteTime(String billTime);

    /**
     *
     * 更新数据
     *
     */
    public void update(XmCgmx xmCgmx);
}
